#include "rational.h"
#include <stdio.h>


int main(){
    Rational r(5,2);
    r *= 4;
    printf("%lf\n", (double)r);
    printf("%lf\n", (double)r++);
    printf("%lf\n", (double)++r);
    return 0;
}
